package com.hbnu.pojo;

import com.hbnu.dao.UserDao;

public class User {
    private String userName;
//     public User(String name){
//            this.userName=name;
//     }
   private UserDao userDao;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void printfString(){
        System.out.println(userName+"注入");
    }
}
